package org.sample.pattern.singleton;

/** 单例模式的饿汉式实现 */
public class SingletonHunger {

    private static final SingletonHunger Instance = new SingletonHunger();

    private SingletonHunger() {
    }

    public static SingletonHunger getInstance() {
        return Instance;
    }
}